<?php
//$section->appendSystemModule('right_sidebar', array('name'=>'events.AllEventFilters'));
?>
<?php $html->css('/events/css/events.css',null,array(),false);?>
<section class="deals">
	<div class="container">
		<div class="row">
	<?php
	if(!empty($eventData))
	{
		if(!isset($eventCallerName))
		{
			$eventCallerName = 'browseevents';
		}
	?>
		<?php if(isset($myTitle)) { ?>
		<h2><?php echo $myTitle ?></h2>
		<div class="clear"></div>
		<?php } ?>
		<div>
			<?php echo $this->element('events', array('eventList' => $eventData,'view_type'=>$view_type,'eventCallerName'=>$eventCallerName,'loggedInUserId'=>$loggedInUserId)); ?>
		</div>
		<div class="clear"></div>
	<?php 
	}
	else
	{
		echo "<h4 class='no_results'>".__('No events found!')."</h4>";
	}
	?>
		</div>
		<!--/.row--> 
	</div>
	<!--/.container--> 
</section>
<!-- /.hauptseite-->